package com.himiotech.core.project.model.metadata;

/**
 * @author wuwenbin
 * @date 2021-05-28 18:15
 **/
public enum UserOnlineMetadata {

    /**
     * 字段类型列举，方便 mp 的 wrapper 使用
     */
    SESSION_ID("session_id"),
    LOGIN_NAME("login_name"),
    DEPT_NAME("dept_name"),
    IP_ADDR("ip_addr"),
    LOGIN_LOCATION("login_location"),
    BROWSER("browser"),
    OS("os"),
    STATUS("status"),
    START_TIMESTAMP("start_timestamp"),
    LAST_ACCESS_TIME("last_access_time"),
    EXPIRE_TIME("expire_time"),
    CREATE_BY("create_by"),
    GMT_CREATE("gmt_create"),
    MODIFIED_BY("modified_by"),
    GMT_MODIFIED("gmt_modified"),
    REMARK("remark"),
    CREATE_BY_NAME("create_by_name"),
    MODIFIED_BY_NAME("modified_by_name");

    private final String colName;

    UserOnlineMetadata(String colName) {
        this.colName = colName;
    }

    public String getColName() {
        return colName;
    }
}
